import mockjs from 'mockjs';

export default {
  'POST /api/polluteData/getPolluteChart': (req, res) => {
    res.send(
      mockjs.mock({
        code: 200,
        message: '请求成功',
        data: {
          'items|2': [
            {
              Date: '2010-01',
              scales: 1998,
            },
            {
              Date: '2010-02',
              scales: 1850,
            },
            {
              Date: '2010-03',
              scales: 1720,
            },
            {
              Date: '2010-04',
              scales: 1818,
            },
            {
              Date: '2010-05',
              scales: 1920,
            },
            {
              Date: '2010-06',
              scales: 1802,
            },
            {
              Date: '2010-07',
              scales: 1945,
            },
            {
              Date: '2010-08',
              scales: 1856,
            },
            {
              Date: '2010-09',
              scales: 2107,
            },
          ],
        },
      }),
    );
  },
};
